home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre1.z / postgre1 / demo / makefile < prev    next >
Encoding:
Makefile  |  1993-05-07  |  1.0 KB  |  53 lines

  1. TREE=    /usr/postgres
  2. OD=    /usr/postgres/obj.linux
  3. SD=    /usr/postgres/src
  4. PORTNAME=    linux
  5. PORTDIR=    port/linux
  6. PORTLDFLAGS= # -static
  7.  
  8. GCFLAGS=    -O2 # -g -Wmissing-prototypes -DNO_ASSERT_CHECKING
  9. BKIFLAGS=
  10. LDFLAGS=    $(GCFLAGS)
  11. CFLAGS=        $(GCFLAGS) \
  12.         -I$(SD)/lib/H \
  13.         -I$(SD)/lib/H/obsolete \
  14.         -I$(OD)/lib/H \
  15.         -I$(SD)/$(PORTDIR) \
  16.         -D__USE_BSD_SIGNAL
  17. DIRS=        ./dirs.mk
  18. LIBS=        -lm -lipc
  19. DEMOCCOPTS=
  20. #
  21. # Makefile for making the object files to be loaded
  22. # into the demo.  
  23. # $Header: /private/postgres/demo/RCS/makefile.source,v 1.2 1991/11/19 17:56:36 mer Exp $
  24. #
  25. .SUFFIXES: .o .c .temp .pq
  26.  
  27. all: circle.o boxarea.o overpaid.o set-up-1.pq
  28.  
  29. clean: 
  30.     rm -f *.o *.pq
  31.  
  32. set-up-1.pq: set-up-1.temp
  33.  
  34. .temp.pq:
  35.     -@ echo "producing the setup script $(@F)" ; \
  36.     C=`pwd`; sed -e "s:_CWD_:$$C:" < $(<F) > $(@F)
  37.  
  38. .c.o:
  39.     cc  $(DEMOCCOPTS) -I../src/lib/H -c $(<F)
  40.  
  41.  
  42. #
  43. # DEPENDENCIES (generated, do not modify by hand)
  44. circle.o: circle.c
  45. circle.o: /usr/include/stdio.h
  46. circle.o: ../src/lib/H/utils/geo-decls.h
  47. circle.o: /usr/include/math.h
  48.  
  49. boxarea.o: boxarea.c
  50.  
  51. overpaid.o: overpaid.c
  52.